<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/white/common/common.jsp"%>
<%@include file="/white/common/taglibs.jsp"%>
<html>
	<head>
		<script type="text/javascript">
        
        
        
    </script>
	</head>
	<body onload="displayResult()">
		<s:form method="post" action="nspLogSumAction!nspLogerSumTellMonthQuery.action"
			theme="simple" id="searchForm">
			<div id="div_title">
				<h3>
					NSP电话月统计
				</h3>
				<div id="div_search">
					<table>
						<tr>
							<!-- 查询条件 -->
							
							
							<td width="80" align="right">
								请求月:
							</td>
							
							<td>  
								<s:select list="yearMap" headerKey=""  headerValue=""
										name="query_yearStart" id="query_yearStart"
										value="query_yearStart" >
						         </s:select>年					         
						         	<s:select list="monthMap" headerKey=""  headerValue=""
										name="query_monthStart" id="query_monthStart"
										value="query_monthStart" >
						         </s:select>月  --
						         
						         	<s:select list="yearMap" headerKey=""  headerValue=""
										name="query_yearEnd" id="query_yearEnd"
										value="query_yearEnd" >
						         </s:select>年				         
						         	<s:select list="monthMap" headerKey=""  headerValue=""
										name="query_monthEnd" id="query_monthEnd"
										value="query_monthEnd" >
						         </s:select>月
							
							
							</td>
							<td width="80" align="right">
								请求类型:
							</td>
							<td>
							<s:select list="requestTypeMap" headerKey=""  headerValue="-全部-"
										name="query_requestType" id="query_requestType"
										value="query_requestType" >
						         </s:select>
							
								
							</td>
							<td width="80" align="right">
								<authz:authorize ifAnyGranted="OMC_NSP_LOG_COUNT">
									<s:submit cssClass="submit_search" value="搜索"
										action="nspLogSumAction!nspLogerSumTellMonthQuery" />
								</authz:authorize>
							</td>
						</tr>
					</table>
				</div>
			</div>
			
			
			
			<!--列表 数据-->
			<table cellpadding="0" cellspacing="0" class="t_list">
			
			<tr>
			<th colspan="2" style="BORDER: #DC2913 1px solid;"></th>
			<th colspan="6" style="BORDER: #DC2913 1px solid;">请求数</th>
			<th colspan="3" style="BORDER: #DC2913 1px solid;">日平均</th>
			<th colspan="4" style="BORDER: #DC2913 1px solid;">月总量</th>
			<th colspan="4" style="BORDER: #DC2913 1px solid;">月增量</th>
			</tr>
				<tr>
				
					<!--列表头部 -->
					<th style="border-left: #DC2913 1px solid;">
						日期
					</th>	
					<th>
						类型
					</th>
					<th style="border-left: #DC2913 1px solid;">
						总数
					</th>
					<th>
						IMSI,TEL有效
					</th>
					<th>
						IMSI有效
					</th>				
					<th>
						TEL有效
					</th>
					<th>
						IMSI,TEL无效
					</th>
					<th>
						无IMSI,TEL
					</th>
					<th style="border-left: #DC2913 1px solid;">
						IMSI,TEL有效
					</th>
					<th>
						IMSI有效
					</th>
					<th>
						TEL有效
					</th>					
						<th style="border-left: #DC2913 1px solid;">
						IMSI,TEL有效
					</th>	
						<th>
						IMSI有效
					</th>	
						<th>
						TEL有效
					</th>
						<th>
						总数
					</th>	
						<th style="border-left: #DC2913 1px solid;">
						IMSI,TEL有效
					</th>	
						<th>
						IMSI有效
					</th>	
						<th>
						TEL有效
					</th>	
						<th style="border-right: #DC2913 1px solid;">
						总数
					</th>	
						
					
					
					
					
							
				</tr>
				<s:iterator value="resultList" status="sindex">
					<tr>
						<td style="border-left: #DC2913 1px solid;">
							<s:property value="LOG_DATE" />
						</td>
						<td>
							<s:property value="COMPANY" />
						</td>
						<td style="border-left: #DC2913 1px solid;">
							<s:property value="REQCOUNT" />
						</td>
						<td>
							<s:property value="REQIMSITEL" />
						</td>
						<td>
							<s:property value="REQIMSI" />
						</td>
						<td>
							<s:property value="REQTEL" />
						</td>
						<td>
							<s:property value="REQERRORIMSITEL" />
						</td>
						<td>
							<s:property value="REQNOIMSITEL" />
						</td>
						
						<td style="border-left: #DC2913 1px solid;"> 
						<s:property value="DAYIMSITELAVERAGE" />
						
						</td>
							<td>
						<s:property value="DAYIMSIAVERAGE" />
						
						</td>	
							<td>
						<s:property value="DAYTELAVERAGE" />
						
						</td>	
						
						
						
						<td style="border-left: #DC2913 1px solid;">
							<s:property value="ALLIMSITEL" />
						</td>
						<td>
							<s:property value="ALLIMSI" />
						</td>
						<td>
							<s:property value="ALLTEL" />
						</td>
						<td>
							<s:property value="ALLTOTAL" />
						</td>
						
							<td style="border-left: #DC2913 1px solid;">
								<s:if test="INCREMENTIMSITEL=='' || INCREMENTIMSITEL==null"><s:property value="DAYIMSITEL" /></s:if>
							<s:else><s:property value="INCREMENTIMSITEL" /></s:else>
						
						</td>	
							<td>
								<s:if test="INCREMENTIMSI=='' || INCREMENTIMSI==null"><s:property value="DAYIMSI" /></s:if>
							<s:else><s:property value="INCREMENTIMSI" /></s:else>
						
						</td>	
							<td>
								<s:if test="INCREMENTTEL=='' || INCREMENTTEL==null"><s:property value="DAYTEL" /></s:if>
							<s:else><s:property value="INCREMENTTEL" /></s:else>
						
						</td>	
							<td style="border-right: #DC2913 1px solid;">
							
							<s:if test="INCREMENTTOTAL=='' || INCREMENTTOTAL==null"><s:property value="DAYTELLALL" /></s:if>
							<s:else><s:property value="INCREMENTTOTAL" /></s:else>
						
						</td>			
					</tr>
				</s:iterator>
			</table>
			<!--列表 结束 -->
			

		</s:form>
	</body>
</html>
